package com.cskaoyan.service;


import com.cskaoyan.model.User;
import com.cskaoyan.model.bo.BaseParamBO;
import com.cskaoyan.model.vo.*;


public interface UserService {
    DataVO query(BaseParamBO param, String username, String mobile);

    void updateUser(User user);

    User selectUserById(int i);

    WxLoginDataVO getAdminInfoByName(String username);

    Integer getUserIdByUsername(String username);

    ExceptionVO userRegister(WxRegisterVO wxRegisterVO);

    void sendMsg(String mobile, String code);

    boolean checkCode(String mobile, String code);

    ExceptionVO reset(String phone, String password,String code);
}
